import { createRouter, createWebHistory } from 'vue-router'
import { middleware } from './middleware'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [],
})
router.beforeEach(middleware)
export default router
